<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">

<html><head><title>Emailer - Bonfire</title><link rel="stylesheet" type="text/css" href="../../../../styles/main.css"><script language=JavaScript src="../../../../javascript/main.js"></script><script language=JavaScript src="../../../../javascript/prettify.js"></script><script language=JavaScript src="../../../../javascript/searchdata.js"></script></head><body class="ContentPage" onLoad="NDOnLoad();prettyPrint();"><script language=JavaScript><!--
if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>

<!--  Generated by Natural Docs, version 1.5 -->
<!--  http://www.naturaldocs.org  -->

<!-- saved from url=(0026)http://www.naturaldocs.org -->




<div id=Content><div class="CClass"><div class=CTopic id=MainTopic><h1 class=CTitle><a name="Emailer"></a>Emailer</h1><div class=CBody><p>The Emailer core module makes sending emails a breeze.&nbsp; It uses the default CodeIgniter email library, but extends the functionality to provide the ability to queue emails to be processed later by a CRON job, allowing you to limit the number of emails that are sent per/hour if you have a picky mail server or ISP.</p><p>It also provides the ability to use HTML email templates, though only one template is supported at the moment.</p><h4 class=CHeading>Package</h4><p>Core Modules</p><!--START_ND_SUMMARY--><div class=Summary><div class=STitle>Summary</div><div class=SBorder><table border=0 cellspacing=0 cellpadding=0 class=STable><tr class="SMain"><td class=SEntry><a href="#Emailer" >Emailer</a></td><td class=SDescription>The Emailer core module makes sending emails a breeze. </td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#Emailer.Variables" >Variables</a></td><td class=SDescription></td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#Emailer.$queue_emails" id=link1 onMouseOver="ShowTip(event, 'tt1', 'link1')" onMouseOut="HideTip('tt1')">$queue_emails</a></td><td class=SDescription>Whether to send emails immediately or queue them by default.</td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#Emailer.$errors" id=link2 onMouseOver="ShowTip(event, 'tt2', 'link2')" onMouseOut="HideTip('tt2')">$errors</a></td><td class=SDescription>An array of errors generated during the course of the script running.</td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#Emailer.$debug" id=link3 onMouseOver="ShowTip(event, 'tt3', 'link3')" onMouseOut="HideTip('tt3')">$debug</a></td><td class=SDescription>A private variable for reporting extra information about the running of the script and the sending of immediate emails.</td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#Emailer.$ci" id=link4 onMouseOver="ShowTip(event, 'tt4', 'link4')" onMouseOut="HideTip('tt4')">$ci</a></td><td class=SDescription>A pointer to the CodeIgniter instance.</td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#Emailer.Functions" >Functions</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#Emailer.send" id=link5 onMouseOver="ShowTip(event, 'tt5', 'link5')" onMouseOut="HideTip('tt5')">send()</a></td><td class=SDescription>Handles sending the emails and routing to the appropriate methods for queueing or sending.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#Emailer.queue_email" id=link6 onMouseOver="ShowTip(event, 'tt6', 'link6')" onMouseOut="HideTip('tt6')">queue_email()</a></td><td class=SDescription>Add the email to the database to be sent out during a cron job.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#Emailer.send_email" id=link7 onMouseOver="ShowTip(event, 'tt7', 'link7')" onMouseOut="HideTip('tt7')">send_email()</a></td><td class=SDescription>Sends the email immediately.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#Emailer.process_queue" id=link8 onMouseOver="ShowTip(event, 'tt8', 'link8')" onMouseOut="HideTip('tt8')">process_queue()</a></td><td class=SDescription>Process the email queue in chunks.</td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div>

<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="Emailer.Variables"></a>Variables</h3></div></div>

<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="Emailer.$queue_emails"></a>$queue_emails</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>public $queue_emails</td></tr></table></blockquote><p>Whether to send emails immediately or queue them by default.</p><p>If true, will queue emails into the database to be sent later.&nbsp; If false, will send the email immediately.</p></div></div></div>

<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="Emailer.$errors"></a>$errors</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>public $errors</td></tr></table></blockquote><p>An array of errors generated during the course of the script running.</p></div></div></div>

<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="Emailer.$debug"></a>$debug</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>private $debug</td></tr></table></blockquote><p>A private variable for reporting extra information about the running of the script and the sending of immediate emails.</p><h4 class=CHeading>Access</h4><p>Private</p></div></div></div>

<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="Emailer.$ci"></a>$ci</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>private $ci</td></tr></table></blockquote><p>A pointer to the CodeIgniter instance.</p><h4 class=CHeading>Access</h4><p>Private</p></div></div></div>

<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="Emailer.Functions"></a>Functions</h3></div></div>

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="Emailer.send"></a>send()</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>public function send(</td><td class=PParameter nowrap>$data</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>array(),</td></tr><tr><td></td><td class=PParameter nowrap>$queue_override</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>false</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Handles sending the emails and routing to the appropriate methods for queueing or sending.</p><p>Information about the email should be sent in the $data array.&nbsp; It looks like:</p><p>$data = array( &lsquo;to&rsquo;            =&gt; &lsquo;&rsquo;,      // either string or array &lsquo;subject&rsquo;       =&gt; &lsquo;&rsquo;,      // string &lsquo;message&rsquo;       =&gt; &lsquo;&rsquo;,      // string &lsquo;alt_message&rsquo;   =&gt; &lsquo;&rsquo;       // optional (text alt to html email) );</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>$data</td><td class=CDLDescription>An array of required information need to send the email.</td></tr><tr><td class=CDLEntry>$queue_override</td><td class=CDLDescription>If true, will queue the email, no matter what the default setting is.</td></tr></table><h4 class=CHeading>Return</h4><p>true/false      Whether the operation was successful or not.</p></div></div></div>

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="Emailer.queue_email"></a>queue_email()</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>private function queue_email(</td><td class=PParameterPrefix nowrap>&amp;</td><td class=PParameter nowrap>$to</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>null,</td></tr><tr><td></td><td class=PParameterPrefix nowrap>&amp;</td><td class=PParameter nowrap>$from,</td><td class=PDefaultValuePrefix>&nbsp;&nbsp;</td><td class=PDefaultValue width=100%></td></tr><tr><td></td><td class=PParameterPrefix nowrap>&amp;</td><td class=PParameter nowrap>$subject</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>null,</td></tr><tr><td></td><td class=PParameterPrefix nowrap>&amp;</td><td class=PParameter nowrap>$message</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>null,</td></tr><tr><td></td><td class=PParameterPrefix nowrap>&amp;</td><td class=PParameter nowrap>$alt_message</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>false</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Add the email to the database to be sent out during a cron job.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>$to</td><td class=CDLDescription>The email to send the message to</td></tr><tr><td class=CDLEntry>$from</td><td class=CDLDescription>The from email (Ignored in this method, but kept for consistency with the send_email method.</td></tr><tr><td class=CDLEntry>$subject</td><td class=CDLDescription>The subject line of the email</td></tr><tr><td class=CDLEntry>$message</td><td class=CDLDescription>The text to be inserted into the template for HTML emails.</td></tr><tr><td class=CDLEntry>$alt_message</td><td class=CDLDescription>An optional, text-only version of the message to be sent with HTML emails.</td></tr></table><h4 class=CHeading>Return</h4><p>true/false      Whether it was successful or not.</p><h4 class=CHeading>Access</h4><p>Private</p></div></div></div>

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="Emailer.send_email"></a>send_email()</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>private function send_email(</td><td class=PParameterPrefix nowrap>&amp;</td><td class=PParameter nowrap>$to</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>null,</td></tr><tr><td></td><td class=PParameterPrefix nowrap>&amp;</td><td class=PParameter nowrap>$from</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>null,</td></tr><tr><td></td><td class=PParameterPrefix nowrap>&amp;</td><td class=PParameter nowrap>$subject</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>null,</td></tr><tr><td></td><td class=PParameterPrefix nowrap>&amp;</td><td class=PParameter nowrap>$message</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>null,</td></tr><tr><td></td><td class=PParameterPrefix nowrap>&amp;</td><td class=PParameter nowrap>$alt_message</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>false</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Sends the email immediately.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>$to</td><td class=CDLDescription>The email to send the message to</td></tr><tr><td class=CDLEntry>$from</td><td class=CDLDescription>The from email.</td></tr><tr><td class=CDLEntry>$subject</td><td class=CDLDescription>The subject line of the email</td></tr><tr><td class=CDLEntry>$message</td><td class=CDLDescription>The text to be inserted into the template for HTML emails.</td></tr><tr><td class=CDLEntry>$alt_message</td><td class=CDLDescription>An optional, text-only version of the message to be sent with HTML emails.</td></tr></table><h4 class=CHeading>Return</h4><p>true/false      Whether it was successful or not.</p><h4 class=CHeading>Access</h4><p>Private</p></div></div></div>

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="Emailer.process_queue"></a>process_queue()</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>public function process_queue(</td><td class=PParameter nowrap>$limit</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>33</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Process the email queue in chunks.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>$limit</td><td class=CDLDescription>An int specifying how many emails to process at once.&nbsp; Defaults to 33 which, if processed every 5 minutes, equals 400/hour And should keep you safe with most ISP&rsquo;s.&nbsp; Always check your ISP&rsquo;s terms of service to verify, though.</td></tr></table><h4 class=CHeading>Return</h4><p>true/false  Whether the method was successful or not.</p></div></div></div>

</div><!--Content-->


<div id=Footer><a href="http://www.naturaldocs.org">Generated by Natural Docs</a></div><!--Footer-->


<div id=Menu><div class=MTitle>Bonfire<div class=MSubTitle>Faster CodeIgniter Development</div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent1')">Guides</a><div class=MGroupContent id=MGroupContent1><div class=MEntry><div class=MFile><a href="../../../../files2/installing-txt.html">Installing Bonfire</a></div></div><div class=MEntry><div class=MFile><a href="../../../../files2/modules/overview-txt.html">Modules Overview</a></div></div><div class=MEntry><div class=MFile><a href="../../../../files2/auth_notes-txt.html">Understanding Authentication</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent2')">Helpers</a><div class=MGroupContent id=MGroupContent2><div class=MEntry><div class=MFile><a href="../../../helpers/address_helper-php.html">Address Helper</a></div></div><div class=MEntry><div class=MFile><a href="../../../helpers/application_helper-php.html">Application Helper</a></div></div><div class=MEntry><div class=MFile><a href="../../../helpers/config_file_helper-php.html">Config File Helper</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent3')">Libraries</a><div class=MGroupContent id=MGroupContent3><div class=MEntry><div class=MFile><a href="../../../libraries/assets-php.html">Assets</a></div></div><div class=MEntry><div class=MFile><a href="../../../libraries/template-php.html">Template</a></div></div><div class=MEntry><div class=MFile><a href="../../users/libraries/auth-php.html">Auth</a></div></div><div class=MEntry><div class=MFile><a href="../../../libraries/Console-php.html">Console</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent4')">Core Overrides</a><div class=MGroupContent id=MGroupContent4><div class=MEntry><div class=MFile><a href="../../../core/MY_Controller-php.html">Controllers</a></div></div><div class=MEntry><div class=MFile><a href="../../../core/MY_Model-php.html">MY_Model</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent5')">Core Modules</a><div class=MGroupContent id=MGroupContent5><div class=MEntry><div class=MFile id=MSelected>Emailer</div></div><div class=MEntry><div class=MFile><a href="../../migrations/libraries/Migrations-php.html">Migrations</a></div></div><div class=MEntry><div class=MFile><a href="../../roles/models/permission_model-php.html">Permission_model</a></div></div><div class=MEntry><div class=MFile><a href="../../roles/models/role_model-php.html">Role_model</a></div></div></div></div></div><div class=MEntry><div class=MFile><a href="../../../controllers/install-php.html">controllers/<wbr>install.php</a></div></div><div class=MEntry><div class=MFile><a href="../../logs/controllers/developer-php.html">core_modules/.../controllers/<wbr>developer.php</a></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent6')">Index</a><div class=MGroupContent id=MGroupContent6><div class=MEntry><div class=MIndex><a href="../../../../index/General.html">Everything</a></div></div><div class=MEntry><div class=MIndex><a href="../../../../index/Classes.html">Classes</a></div></div><div class=MEntry><div class=MIndex><a href="../../../../index/Functions.html">Functions</a></div></div><div class=MEntry><div class=MIndex><a href="../../../../index/Variables.html">Variables</a></div></div><div class=MEntry><div class=MIndex><a href="../../../../index/Files.html">Files</a></div></div></div></div></div><script type="text/javascript"><!--
var searchPanel = new SearchPanel("searchPanel", "HTML", "../../../../search");
--></script><div id=MSearchPanel class=MSearchPanelInactive><input type=text id=MSearchField value=Search onFocus="searchPanel.OnSearchFieldFocus(true)" onBlur="searchPanel.OnSearchFieldFocus(false)" onKeyUp="searchPanel.OnSearchFieldChange()"><select id=MSearchType onFocus="searchPanel.OnSearchTypeFocus(true)" onBlur="searchPanel.OnSearchTypeFocus(false)" onChange="searchPanel.OnSearchTypeChange()"><option  id=MSearchEverything selected value="General">Everything</option><option value="Classes">Classes</option><option value="Files">Files</option><option value="Functions">Functions</option><option value="Variables">Variables</option></select></div><script language=JavaScript><!--
HideAllBut([5, 6, 4, 3], 7);// --></script></div><!--Menu-->



<!--START_ND_TOOLTIPS-->
<div class=CToolTip id="tt1"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>public $queue_emails</td></tr></table></blockquote>Whether to send emails immediately or queue them by default.</div></div><div class=CToolTip id="tt2"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>public $errors</td></tr></table></blockquote>An array of errors generated during the course of the script running.</div></div><div class=CToolTip id="tt3"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>private $debug</td></tr></table></blockquote>A private variable for reporting extra information about the running of the script and the sending of immediate emails.</div></div><div class=CToolTip id="tt4"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>private $ci</td></tr></table></blockquote>A pointer to the CodeIgniter instance.</div></div><div class=CToolTip id="tt5"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>public function send(</td><td class=PParameter nowrap>$data</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>array(),</td></tr><tr><td></td><td class=PParameter nowrap>$queue_override</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>false</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Handles sending the emails and routing to the appropriate methods for queueing or sending.</div></div><div class=CToolTip id="tt6"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>private function queue_email(</td><td class=PParameterPrefix nowrap>&amp;</td><td class=PParameter nowrap>$to</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>null,</td></tr><tr><td></td><td class=PParameterPrefix nowrap>&amp;</td><td class=PParameter nowrap>$from,</td><td class=PDefaultValuePrefix>&nbsp;&nbsp;</td><td class=PDefaultValue width=100%></td></tr><tr><td></td><td class=PParameterPrefix nowrap>&amp;</td><td class=PParameter nowrap>$subject</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>null,</td></tr><tr><td></td><td class=PParameterPrefix nowrap>&amp;</td><td class=PParameter nowrap>$message</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>null,</td></tr><tr><td></td><td class=PParameterPrefix nowrap>&amp;</td><td class=PParameter nowrap>$alt_message</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>false</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Add the email to the database to be sent out during a cron job.</div></div><div class=CToolTip id="tt7"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>private function send_email(</td><td class=PParameterPrefix nowrap>&amp;</td><td class=PParameter nowrap>$to</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>null,</td></tr><tr><td></td><td class=PParameterPrefix nowrap>&amp;</td><td class=PParameter nowrap>$from</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>null,</td></tr><tr><td></td><td class=PParameterPrefix nowrap>&amp;</td><td class=PParameter nowrap>$subject</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>null,</td></tr><tr><td></td><td class=PParameterPrefix nowrap>&amp;</td><td class=PParameter nowrap>$message</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>null,</td></tr><tr><td></td><td class=PParameterPrefix nowrap>&amp;</td><td class=PParameter nowrap>$alt_message</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>false</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Sends the email immediately.</div></div><div class=CToolTip id="tt8"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>public function process_queue(</td><td class=PParameter nowrap>$limit</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>33</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Process the email queue in chunks.</div></div><!--END_ND_TOOLTIPS-->




<div id=MSearchResultsWindow><iframe src="" frameborder=0 name=MSearchResults id=MSearchResults></iframe><a href="javascript:searchPanel.CloseResultsWindow()" id=MSearchResultsWindowClose>Close</a></div>


<script language=JavaScript><!--
if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html>